<p class="breadcrumbs"><strong>You are here:</strong> &raquo; <a href="<?php echo $gene_uri ?>"><?php _e($gene_name) ?></a> &raquo; Lost Password</p>

<h2>Lost Password</h2>

<?php if ($success): ?>
	<p>Your password has been successfully changed.</p>
	
	<p><a href="<?php echo Gene::makeLink(Gene::specialId('Login')) ?>">Login</a></p>
<?php else: ?>
	<?php if ($errormsg): ?>
		<p class="errormessage"><?php _e($errormsg) ?></p>
	<?php endif; ?>
	
	<p>Changing Password for <strong><?php _e($publicname) ?></strong>.</p>
	
	<form action="<?php echo Gene::makeLink(Gene::specialId('Password')) ?>/confirm" method="post">
	
	<input type="hidden" name="step" value="2" />
	<input type="hidden" name="loginname" value="<?php _e($email) ?>" />
	<input type="hidden" name="confirmcode" value="<?php _e($code) ?>" />
	
	<p class="fieldlabel"><label for="regpassword">Select a password:</label></p>
	<p class="field"><input type="password" id="password" name="password" class="required" /></p>
	
	<p class="fieldlabel"><label for="regpassword2">Confirm password by typing again:</label></p>
	<p class="field"><input type="password" id="password2" name="password2" class="required" /></p>
	
	<p class="formcontrols"><input type="submit" value="Change Password" class="btn_focus" /></p>
	
	</form>
<?php endif; ?>